export default {
  namespaced: true,
  state: {
    // 区域regionId
    regionId: '',
    // 历史名称集合
    regionPnames: '',
    // 当前可选择区域类型
    regionTypeList: '',
    // 区域名称
    regionName: '',
    // 是否显示区域块
    isRegionShow: false
  },
  mutations: {
    updateRegionId (state, regionId) {
      state.regionId = regionId
    },
    updateRegionPnames (state, regionPnames) {
      state.regionPnames = regionPnames
    },
    updateRegionTypeList (state, regionTypeList) {
      state.regionTypeList = regionTypeList
    },
    updateRegionName (state, regionName) {
      state.regionName = regionName
    },
    updateIsRegionShow (state, isRegionShow) {
      state.isRegionShow = isRegionShow
    }
  }
}
